package com.infitecs.eyas.toolbar.dao;

import com.infitecs.eyas.toolbar.model.ToolBar;
import com.infitecs.krill.mybatis.annotation.mybatisRepository;
import org.apache.ibatis.annotations.Param;

/**
 * Created by pzw on 9/13/2015.
 */
@mybatisRepository
public interface ToolBarDataDao {

    int addCalValue(ToolBar toolBar);

    int updateCalValue(ToolBar toolBar);

    int deleteCalValue(@Param("calId") Integer calId);

    ToolBar getToolBarByCalId(@Param("calId") Integer calId);

}
